package com.hiq.rendezvous;

import com.hiq.rendezvous.location.Gps;

import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TabHost;

public class RendezvousActivity extends TabActivity
{
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
		// setContentView(R.layout.main);
		setContentView(R.layout.tabview);

		// go get our feed!
		// feed = getFeed(RSSFEEDOFCHOICE);

		// display UI
		// UpdateDisplay();

	        
		final TabHost tabHost = getTabHost();

		tabHost.addTab(tabHost.newTabSpec("karta").setIndicator("Karta")
				.setContent(new Intent(this, Gps.class)));

		tabHost.addTab(tabHost.newTabSpec("chat").setIndicator("Chat")
				.setContent(R.id.textview1));

		tabHost.addTab(tabHost.newTabSpec("chat2").setIndicator("Chat2")
				.setContent(R.id.textview1));

		tabHost.addTab(tabHost.newTabSpec("chat3").setIndicator("Chat3")
				.setContent(R.id.textview1));


		// tabHost.addTab(tabHost.newTabSpec("tab_test3").setIndicator("TAB 3")
		// .setContent(R.id.textview3));

		tabHost.setCurrentTab(0);

    }
}
